package com.twotiger.and.bean;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.NotNull;
import com.lidroid.xutils.db.annotation.Table;

@Table(name = "userLocation")
public class Loctionbean {
    @Id
    public long id;
    @Column(column = "altitude")
    @NotNull
    private String altitude;
    @Column(column = "ctime")
    @NotNull
    private String ctime;
    @Column(column = "latitude")
    @NotNull
    private String latitude;
    @Column(column = "longitude")
    @NotNull
    private String longitude;
    @Column(column = "userName")
    private String userName;
    @Foreign(foreign = "hah")
    private int hah;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getAltitude() {
        return altitude;
    }

    public void setAltitude(String altitude) {
        this.altitude = altitude;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

}
